package com.alpha.eceasy.mall.api.dto;

import com.alpha.eceasy.mall.api.entity.MallOrder;
import com.alpha.eceasy.mall.api.entity.MallOrderDetail;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MallOrderDTO extends MallOrder {
    @Schema(description = "订单详情")
    private List<MallOrderDetail> orderDetailList;
    @Schema(description = "销售人Guid")
    private String sellerGuid;
    @Schema(description = "采购报价人Guid")
    private String offererGuid;
    @Schema(description = "客户姓名")
    private String customerName;
}
